home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 21
/
Cream of the Crop 21 (Terry Blount) (October 1996).iso
/
windows
/
ztw100.zip
/
ARCHIVER.BB2
next >
Wrap
Text File
|
1996-08-23
|
11KB
|
433 lines
21
;That first line is how many lines/record in this archiver.bb2 file...
;very important, do not change. Allows future modifications to the
;file to be transparent to older programs.
;
;ARCHIVER.BB2, archiver control file for XBBS-OS/2, XGROUP and AV
;KEEP A COPY OF THIS ORIGINAL FILE FOR INFORMATION LATER!
;
;format for this archiver.bb2 file (each entry has 21 lines):
;
; 1st line: ID of archiver (like ARC, LHARC, PKZIP, etc.; human consumption)
; 2nd line: normal extension for archives (like ZIP, ARC, LZH; note no period)
; 3rd line: offset into file to signature
; 4th line: list command
; 5th line: extract command
; 6th line: extract w/ directories command
; 7th line: test archive command
; 8th line: add/create command
; 9th line: add/create w/ paths command
;10th line: add/create & recurse command
;11th line: move command
;12th line: move w/ paths command
;13th line: delete command
;14th line: signature (case sensitive, leading spaces count!
;15th line: startlist string
;16th line: endlist string
;17th line: old size position (all positions 0-based, -1 = not available)
;18th line: new size position
;19th line: file date position
;20th line: number of positions in dates (for "03 June 92" would be 3)
;21st line: file name position (absolutely required, of course)
;
;a semicolon demarks a comment. they may appear at any point *except*
;within the 21 lines of an archiver entry. comments are ignored by AV.
;
;note that all archiver strings should include the archiver's parameter to
;prevent it from stopping for input! also note that archive types are checked
;in order of their listing in this file. finally, this file is set up for
;the archivers I had lying around; if yours are different versions, you may
;have to modify this file. All archivers are OS/2 (or FAPI) versions.
;DOS archivers will NOT work. I said DOS archivers will NOT work.
;
;how archive listing works (for the curious):
;
;AV first tries to find a signature match. failing that, it checks
;to see if the file might be an ARC-format file. If the latter, READARC.CMD
;is spawned (by XBBS) with ARC as the first argument and v as the second,
;followed by the filename (AV spawns ARC directly). If the former, the list
;command is sent, followed by the filename. AV (and XBBS) then parses the
;resultant file using the start and end list lines and offsets in file lines
;listed in this file for the given archiver.
;
;Warning: I'm told there's a bug in some versions of 4OS2 that can cause
;a call to an archiver to fail if the archiver has an extension (i.e.
;UNZIP works, UNZIP.EXE doesn't). If things fail for no apparent reason
;and you're using 4OS2 you might keep it in mind.
;
;Sample C code to access this information is in sample.c in the AV
;distribution archive, and is free for the using in your own projects.
;
;-----------------Archiver data begins-----------------------
;
;This entry is for PKZIP 1.01
;
PKZip 2.04g
ZIP
0
PKZIP.EXE -v
PKUNZIP.EXE -o
PKUNZIP.EXE -o -d
PKUNZIP.EXE -t
PKZIP.EXE -a
PKZIP.EXE -a -P
PKZIP.EXE -a -p -r
PKZIP.EXE -m
PKZIP.EXE -m -P
PKZIP.EXE -d
PK\x3\x4
------ ------ ----- ----- ---- ---- -------- ---- ----
------ ------ --- -------
0
2
4
2
8
;
;
;This entry is for PKZIP 1.01 named PK(Un)Zip2
;
PK(Un)Zip2 1.01
ZIP
0
PKZIP2.EXE -v
PKUNZIP2.EXE -o
PKUNZIP2.EXE -o -d
PKUNZIP2.EXE -t
PKZIP2.EXE -a
PKZIP2.EXE -a -P
PKZIP2.EXE -a -p -r
PKZIP2.EXE -m
PKZIP2.EXE -m -P
PKZIP2.EXE -d
PK\x3\x4\xa
------ ------ ----- ----- ---- ---- ------ ---- ----
------ ------ --- -------
0
2
4
2
8
;
;This entry is for PKZIP self-extractors type 1
;
PK(Un)Zip SE #1
2934
PKZIP.EXE -v
PKUNZIP.EXE -o
PKUNZIP.EXE -o -d
PKUNZIP.EXE -t
PKZIP.EXE -d
PK\x3\x4
------ ------ ----- ----- ---- ---- ------ ---- ----
------ ------ --- -------
0
2
4
2
8
;
;This entry is for PKZIP self-extractors type 2
;
PK(Un)Zip SE #2
12784
PKZIP.EXE -v
PKUNZIP.EXE -o
PKUNZIP.EXE -o -d
PKUNZIP.EXE -t
PKZIP.EXE -d
PK\x3\x4
------ ------ ----- ----- ---- ---- ------ ---- ----
------ ------ --- -------
0
2
4
2
8
;
;
;
;This entry is for PKZIP self-extractors type 3
;
PK(Un)Zip SE #2
30948
PKZIP.EXE -v
PKUNZIP.EXE -o
PKUNZIP.EXE -o -d
PKUNZIP.EXE -t
PKZIP.EXE -d
PK\x3\x4
------ ------ ----- ----- ---- ---- ------ ---- ----
------ ------ --- -------
0
2
4
2
8
;
; This entry is for LHA 2.55
;
LH 2.55
LZH
2
LHA.EXE V /o
LHA.EXE x /o
LHA.EXE x /o /s
LHA.EXE t
LHA.EXE a /o
LHA.EXE a /o /s
LHA.EXE m /o
LHA.EXE d /o
-lh
-------- -------- --- ------- -------- ------ ----- ---- ----------------
-------- -------- --- ----------------
0
1
3
1
8
;
;
;This entry is for Arj 2.8 by ARJ software
;
Arj 2.8
ARJ
0
ARJ.EXE l
ARJ.EXE e
ARJ.EXE x
ARJ.EXE t
ARJ.EXE a -e -jm
ARJ.EXE a -jm
ARJ.EXE a -r
ARJ.EXE m -e
ARJ.EXE m
ARJ.EXE d
\x60\xea
------------ ---------- ---------- ----- ----------------- -------- -----------
------------ ---------- ---------- -----
1
2
4
1
0
;
;This entry is for ARC 5.12mpl
;
Arc 5.12mpl
ARC
0
ARC.EXE lwn
ARC.EXE ewn
ARC.EXE t
ARC.EXE awn
ARC.EXE mwn
ARC.EXE dwn
\x1a
============ ======== =========
==== ========
1
-1
2
3
0
;
;This entry is for ARC2 (6.0)
;Note that I don't actually have a copy of this...
;
Arc2 6.0
ARC
0
ARC.EXE l
ARC.EXE ewn
ARC.EXE t
ARC.EXE awn
ARC.EXE mwn
ARC.EXE dwn
\x1a
================= ======== =========
==== ========
1
-1
2
3
0
;This entry is for Zoo 2.1
;
;NOTE: Bug in Zoo 2.1 seems to cause files stored with paths to
;be extracted w/ paths even when you don't ask it to do so...
;
;
Zoo 2.1
ZOO
20
ZOO.EXE v
ZOO.EXE xO
ZOO.EXE xO/
ZOO.EXE -test
ZOO.Exe ah:
ZOO.EXE ah
ZOO.EXE aM:h
ZOO.EXE aMh
ZOO.EXE -delete
\xdc\xa7\xc4\xfd
-------- --- -------- --------- --------
-------- --- -------- --------- --------
0
2
3
3
5
;
;
;This entry is for RAR2 1.55
;
;Doesn't currently support Alt_F5
;
RAR 1.55
RAR
0
RAR2.EXE l -std
RAR2.EXE o
RAR2.EXE o -std -d
RAR2.EXE t -std
RAR2.EXE a -std
RAR2.EXE a -std
RAR2.EXE a -std -r
RAR2.EXE m -std
RAR2.EXE m -std
RAR2.EXE d -std
Rar!
-------------- ------- -------- ------ -------- ----- ------ -------- ---- ---
-------------- ------- -------- ------ -------- ----- ------ -------- ---- ---
1
2
4
3
0
;
;-----------------Archiver data ends-----------------------
;
;
; For possible future use:
;
; Squeeze-it signature: (Offset 0) \x48\x4C\x53\x51\x5Ah
; HA signature: (Offset 0) HA
; HAP signature: (Offset 0) \x913HF
; HPK signature: (Offset 0) HPAK
; SQZ signature: (Offset 0) HLSQZ
; DWZ signature: (Offset -3) DWC
;
; No OS/2 versions available yet to my knowledge...
;
;
;
;Notes on modifying/updating this file:
;=====================================
;
;You can add as many archivers as you like to this file.
;here are some suggestions on how to go about it:
;
;list an archive with the archiver, redirecting to a disk
;file (ex. "ARC l AFILE.ARC > TEMP."). Load the resultant
;file into a text editor. Clip out the startlist and endlist
;strings and paste directly into this file on the appropriate
;lines; prevents errors due to typos when copying manually.
;Count the positions of filename, date, etc. and place on the
;appropriate line. Now run the archiver redirected to a file
;to get its help screen (ex. "ARC > TEMP." or "ZOO h > TEMP.").
;Look for the various command options (extract, list, etc.) and
;put them into the file on the appropriate lines -- remember to
;add the modifiers to prevent the archiver fr